<?php
// No direct access.
defined('_JEXEC') or die;

jimport('joomla.application.component.controlleradmin');

/**
 * Jenerator list controller class.
 *
 * @since		1.6
 */
class JeneratorControllerArticles extends JControllerAdmin
{
	/**
	 * Proxy for getModel.
	 */
	public function getModel($name = 'Articles', $prefix = 'JeneratorModel', $config = array('ignore_request' => true))
	{
		$model = parent::getModel($name, $prefix, $config);
		return $model;
	}
	
	public function scanProduction()
	{
		$model = $this->getModel('ScanProduction', 'JeneratorModel', array('ignore_request' => true));
		$model->setModelState();
		$data = $model->scanProduction();
	}
}